<ion-view cache-view="false">
  <ion-header-bar class="bar bar-header header">
    <button on-touch="goback()" class="button return-btn">返回</button>
    <h1 class="title" on-touch="backToTop()">扫一扫</h1>
  </ion-header-bar>
    <ion-content class="gray-bg" has-bouncing="true">
      <div class="list">
        <div class="item item-button-right scan-code-input">
          <label class="item item-input">
            <input  type="text" class="scan-code-inp-text" ng-model="wine.barCode" placeholder="请输入条形码"/>
          </label>
          <button class="button scan-code-submit-btn" on-touch="scan()" type="button">确定</button>
        </div>
      </div>
    </ion-content>
  <div class="tabs tabs-icon-top scan-code-nav">
    <a class="tab-item" on-touch="openScanBarcode()">
      <i class="icon scan-nav-code-icon"></i>
      <em class="scan-code-nav-tit">扫码</em>
    </a>
    <a class="tab-item active">
      <i class="icon scan-nav-m-icon"></i>
      <em class="scan-code-nav-tit">手动输入</em>
    </a>
  </div>
</ion-view>
